package com.qf.service;

import com.qf.bean.User;
import org.springframework.stereotype.Service;

import java.util.List;
public interface UserService {
    //1.校验用户名是否可用
    Integer checkUsername(String username);
    //2.注册账号
    Integer register(User user);
    //3.执行登录
    User login(String username,String password);

}
